package org.kl.wx.entity;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.kl.bf.entity.AuditableEntity;

/**
 * 微信多媒体
 */

@Entity
@Table(name = "wx_media")
public class Media extends AuditableEntity {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1366096569800412374L;
	private String mediaType;//媒体类型
	private String title;//标题
	private String introduction;//描述
	private String fileName;//附件名称
	private String filePath;//保存路径
	private Double fileSize;//附件大小
	private Timestamp uploadTime;//上传时间
	private Timestamp lastDownloadTime;//最后下载时间
	private String fileType;//文件类型
	private String uploader;//上传者
	
	public Media(){}
	public Media(String id){
		this.id = id;
	}

	public String getMediaType() {
		return mediaType;
	}
	public void setMediaType(String mediaType) {
		this.mediaType = mediaType;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public Double getFileSize() {
		return fileSize;
	}
	public void setFileSize(Double fileSize) {
		this.fileSize = fileSize;
	}
	public Date getUploadTime() {
		return uploadTime;
	}
	
	public Timestamp getLastDownloadTime() {
		return lastDownloadTime;
	}
	public void setLastDownloadTime(Timestamp lastDownloadTime) {
		this.lastDownloadTime = lastDownloadTime;
	}
	public void setUploadTime(Timestamp uploadTime) {
		this.uploadTime = uploadTime;
	}
	public String getFileType() {
		return fileType;
	}
	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
	public String getUploader() {
		return uploader;
	}
	public void setUploader(String uploader) {
		this.uploader = uploader;
	}
	
	

}
